import { RouteRecordRaw } from 'vue-router'

interface CustomMeta {
	hidden?: boolean
	title?: string
	keepAlive?: boolean
	icon?: string
	hasPerm?: string[]
}

export interface RoutesType extends Omit<RouteRecordRaw, 'meta' | 'children'> {
	meta: CustomMeta
	children?: RoutesType[]
	redirect?: string
}
